package com.leeue;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import tk.mybatis.spring.annotation.MapperScan;

/**
 * 接口项目启动类
 *
 * @author liyue
 * @date 2019/11/26 10:12
 */
@SpringBootApplication
@MapperScan(basePackages = {"com.leeue.mapper"})
/**启动包扫描，扫描其他工具包**/
@ComponentScan(basePackages = {"com.leeue", "org.n3r.idworker"})
public class ApiApp {

    public static void main(String[] args) {
        SpringApplication.run(ApiApp.class, args);
    }
}
